package com.ims.business.model;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.ims.common.annotation.DictTag;
import com.ims.common.matatype.impl.BaseModel;
import java.io.Serializable;

/**
 * <p>
 * 轮播图片
 * </p>
 *
 * @author 陈骑元
 * @since 2019-07-07
 */
@TableName("t_scoll_image")
public class ScollImage extends BaseModel<ScollImage> {

    private static final long serialVersionUID = 1L;

    /**
     * 图片编号
     */
    @TableId("image_id")
    private String imageId;
    /**
     * 图片文件名
     */
    @TableField("image_name")
    private String imageName;
    /**
     * 图片跳转地址
     */
    private String url;
    /**
     * 状态 0停用1启用
     */
    @DictTag(type="status")
    private String status;
    /**
     * 排序
     */
    @TableField("sort_no")
    private Integer sortNo;
    /**
     * 备注
     */
    private String remark;
    /**
     * 创建人
     */
    @TableField("create_by")
    private String createBy;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;
    /**
     * 更新人
     */
    @TableField("update_by")
    private String updateBy;
    /**
     * 更新时间
     */
    @TableField("update_time")
    private Date updateTime;


    public String getImageId() {
        return imageId;
    }

    public void setImageId(String imageId) {
        this.imageId = imageId;
    }

    public String getImageName() {
        return imageName;
    }

    public void setImageName(String imageName) {
        this.imageName = imageName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getSortNo() {
        return sortNo;
    }

    public void setSortNo(Integer sortNo) {
        this.sortNo = sortNo;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.imageId;
    }

    @Override
    public String toString() {
        return "ScollImage{" +
        "imageId=" + imageId +
        ", imageName=" + imageName +
        ", url=" + url +
        ", status=" + status +
        ", sortNo=" + sortNo +
        ", remark=" + remark +
        ", createBy=" + createBy +
        ", createTime=" + createTime +
        ", updateBy=" + updateBy +
        ", updateTime=" + updateTime +
        "}";
    }
}
